package com.exrobot.module.rbt.service.robotScheduler;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;


@Schema(description = "销售订单信息")
@Data
public class SaleOrder {

    @Schema(description = "订单ID")
    private String id;

    @Schema(description = "配送点")
    private String point;

    @Schema(description = "用户楼层")
    private String userFloor;

    @Schema(description = "验证码")
    private String code;

    @Schema(description = "订单商品明细")
    private List<SaleOrderItem> items;

    public SaleOrder(String id, String userFloor, String code, List<SaleOrderItem> items) {
        this.id = id;
        this.userFloor = userFloor;
        this.code = code;
        this.items = items;
    }
}

